import http from '../request'

export const queryCategory = () =>
  http({
    url: '/category'
  })

export const querySubCategory = (maitKey) =>
  http({ url: 'category/subcategory/' + maitKey })
